package com.springinaction.knights.aop.demo03;

import java.io.PrintStream;

public class Minstrel {

    private PrintStream stream;

    public Minstrel(PrintStream stream) {
        this.stream = stream;
    }

    public void singBeforeQuest(){
        stream.println("啦啦啦，骑士太勇敢了");
    }

    public void singAfterQuest(){
        stream.println("嘻嘻嘻，这位勇敢的骑士踏上了一条探索之路");
    }
}
